package com.yzs.exam.service;

import com.github.pagehelper.PageInfo;
import com.yzs.exam.entity.Chapter;
import com.yzs.exam.viewmodel.admin.education.ChapterPageRequestVM;


import java.util.List;

/**
 * @author yzs
 * @create 2021-04-22 15:17
 */
public interface ChapterService extends BaseService<Chapter> {

    List<Chapter> allChapter();


    PageInfo<Chapter> page(ChapterPageRequestVM requestVM);

    List<Chapter> getChaptersByLevel(Integer level);
}
